home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
gcc
/
ixemul-4.lha
/
ixemul-41.4
/
man
/
cat3
/
strstr.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
1KB
|
67 lines
STRSTR(3) UNIX Programmer's Manual STRSTR(3)
NNAAMMEE
ssttrrssttrr - locate a substring in a string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_c_h_a_r _*
ssttrrssttrr(_c_o_n_s_t _c_h_a_r _*_b_i_g, _c_o_n_s_t _c_h_a_r _*_l_i_t_t_l_e)
DDEESSCCRRIIPPTTIIOONN
The ssttrrssttrr() function locates the first occurrence of the nullterminated
string _l_i_t_t_l_e in the nullterminated string _b_i_g. If _l_i_t_t_l_e is the empty
string, ssttrrssttrr() returns _b_i_g; if _l_i_t_t_l_e occurs nowhere in _b_i_g, ssttrrssttrr()
returns NULL; otherwise ssttrrssttrr() returns a pointer to the first character
of the first occurrence of _l_i_t_t_l_e.
SSEEEE AALLSSOO
index(3), memchr(3), rindex(3), strchr(3), strcspn(3), strpbrk(3),
strrchr(3), strsep(3), strspn(3), strtok(3)
SSTTAANNDDAARRDDSS
The ssttrrssttrr() function conforms to ANSI C3.1591989 (``ANSI C'').
BSD Experimental June 29, 1991 1